* {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

.body_background{
    /*background: url(images/背景图片/wallhaven-nzyrww.png);*/
    background-size: 100%,100%;
    width: 100%;
    height: 100%;
}

.above_big_box{
    position: relative;
    font-size: 30px;
    background: linear-gradient(to right, orange, green);
    -webkit-background-clip: text;
    color: transparent;
}

.wrapbox{
    transform: translateZ(0);
}

.pet_species{
    padding: 31px 0 0 0;
}

.pet_label{
    color: #e3aa5f;
    font-weight: bold;
    margin-left: 30%;
    font-size: 25px;
    text-align: left;
}

.pet{
    position: relative;
    padding-top: 40px;
    width: 100%;
    height: 150px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.pet_photo{
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 25px;
    margin-right: 25px;
    width: 140px;
    transition: 0.2s;
    box-shadow: 0 0 5px 0 #000;
}

.pet_photo:hover {
    box-shadow: 0 0 10px 0 #000;
}

.sidebar{

    position: fixed;
    left: -250px;
    width: 250px;
    height: 80vh;
    background-color: rgba(227, 170, 95, 0.93);
    transition: all 0.5s ease;
    border-top: 0px;
}

.sidebar header{
    color: white;
    text-align: center;
    line-height: 70px;
    font-size: 22px;
    background: #e3aa5f;
    user-select: none;
}

.sidebar ul a{
    display: block;
    padding-left: 50px;
    line-height: 70px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid black;
    color: white;
    transition: 0.3s linear;
}

.sidebar ul i {
    padding-right: 16px;
}

.sidebar ul a:hover {
    padding-left: 40px;
}

#checkBox {
    position: fixed;
    left: 40px;
    top: 25px;
    color: #fff;
    font-size: 35px;
    background-color: #e3aa5f;
    border-radius: 5px;
    padding: 6px 10px;
    transition: 0.2s;
    cursor: pointer;
    box-shadow: 0 0 4px 0 #fff;
}

#checkBox:hover {
    background-color: rgba(227, 170, 95, 0.93);
}

#check:checked~.sidebar {
    left: 0;
    height: 501px;
}

#check:checked #checkBox {
    left: 197px;
    opacity: 0;
}

section {
    height: 100vh;
    background-size: cover;
    transition: all 0.5s;
    padding-top: 1px;
    padding-bottom: 88px;
}

#check:checked~section {
    margin-left: 250px;
}

.big_box {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 8px 0 #000;
}

.big_box ul {
    position: absolute;
    left: 0;
    width: 600%;
    height: 400px;
}

.big_box ul li {
    float: left;
}

.big_box ul li img {
    width: 400px;
    height: 400px;
}

.left {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, .5);
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.right {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, .5);
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.big_box ol {
    position: absolute;
    bottom: 0;
    /* 这里别给ol限制宽度，让小圆圈的个数自动把ol撑大 */
    left: 50%;
    transform: translateX(-50%);
    height: 10%;
    line-height: 10%;
    text-align: center;
}

.big_box ol li {
    float: left;
    width: 20px;
    height: 20px;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    margin-left: 5px;
    transition: 0.2s;
}

.big_box ol .current {
    background-color: #e3aa5f;
}

.left,
.right,
ol li {
    font-size: 32px;
    cursor: pointer;
    display: none;
}

.big_box:hover .left,.big_box:hover .right, ol li{
    display: block;
}

.big_box:hover .right ol li{
    display: block;
}